package com.jwsoft.manager.common.enums;

/**
 * @Author zhiyuan
 * @Date 2023/2/28 16:55
 */
public enum EduWorkSubmittedToEnum {
    jjksh("1", "基教科审核"),
    kzfs("2", "科长复审"),
    jsrycl("3", "技术人员处理"),

    ;

    private String type;
    private String name;

    EduWorkSubmittedToEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static EduWorkSubmittedToEnum getByType(String type) {

        for (EduWorkSubmittedToEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
